<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../JS/vue.js"></script>
    <style>
    </style>
</head>
<body>
    <div id="app">
        <h2 v-once>{{message}}</h2>
        <h2 v-pre>{{message}}</h2>
        <h2 v-text="firstName"></h2>
        <h2>{{firstName+' '+secondName}}</h2>
        <h2>{{counter+1}}</h2>
        <h2 v-html="url"></h2>
    </div>
    <script>
        const app = new Vue({
            el: '#app',
            data:{
                message:'你好',
                firstName: 'Kobe',
                secondName: 'xx',
                counter:100,
                url: '<a href="#">百度一些</a>'
            },
            method:{
                
            }
        })
    </script>
</body>
</html>